package main

import (
	"realmd/src"

	"gitee.com/haifengat/gin-ex/middleware"
	"github.com/gin-gonic/gin"
)

func main() {
	// 应用启动
	go src.Run724()
	r := gin.Default()
	r.Use(middleware.Cors)

	v1 := r.Group("/api/v1")
	{
		src.Route(v1)
	}
	r.Run(":8080")
}
